package com.marchsoft.musicalstore.repository;

import com.marchsoft.musicalstore.entity.CourseType;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 源
 * Date: 2019-11-17
 * Time: 11:17
 */
public interface CourseTypeRepository extends JpaRepository<CourseType,Integer> {

    List<CourseType> findCourseTypeByType(int type);


    List<CourseType> findCourseTypeByState(int state);
}
